//
//  KKVideoCell.m
//  DoMi
//
//  Created by 康凯 on 16/10/28.
//  Copyright © 2016年 kk. All rights reserved.
//

#import "KKVideoCell.h"

@interface KKVideoCell()
@property (weak, nonatomic) IBOutlet UIImageView *avater;
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UILabel *speaker;
@property (weak, nonatomic) IBOutlet UILabel *desc;


@end

@implementation KKVideoCell

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

#pragma mark 初始化数据
-(void)initData:(KKStudyList *)data{
    [self.avater sd_setImageWithURL:[NSURL URLWithString:data.cover]];
    self.title.text=data.videoname;
    self.speaker.text=data.speaker;
    self.desc.text=data.videodesc;
}

@end
